<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <%@include file="/common/common.jspf" %>
    <script type="text/javascript" src="${ctx}/js/sys/config/edit.js"></script>

    <style type="text/css">
        .col-sm-3 {
            width: 15%;
            float: left;
        }

        .col-sm-9 {
            width: 85%;
            float: left;
        }
    </style>
</head>
<body>
<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
<form id="form" name="form" class="form-horizontal" method="post" action="${ctx}/sys/config/editEntity.shtml">
    <input type="hidden" class="form-control" value="${sysConfig.id}" name="sysConfigFormMap.id" id="id">
    <section class="panel panel-default">
        <div class="panel-body">
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">分组</label>
                </div>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入分组" name="sysConfigFormMap.cfg_grp" value="${sysConfig.cfg_grp}">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">键</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入键" name="sysConfigFormMap.cfg_key" value="${sysConfig.cfg_key}">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">描述</label>
                </div>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入描述" name="sysConfigFormMap.cfg_desc" value="${sysConfig.cfg_desc}">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-3">
                    <label class="control-label">值</label>
                </div>
                <div class="col-sm-9">
                    <input type="text" class="form-control" placeholder="请输入值" name="sysConfigFormMap.cfg_val" value="${sysConfig.cfg_val}">
                </div>
            </div>
        </div>
        <footer class="panel-footer text-right bg-light lter">
            <button type="submit" class="btn btn-success btn-s-xs">保存</button>
        </footer>
    </section>
</form>
</body>
</html>
